﻿<%@ Page Title="" Language="C#" MasterPageFile="~/Progress.master" AutoEventWireup="true" CodeFile="Cart_Details.aspx.cs" Inherits="Web_Cart_Details" %>

<%@ Register assembly="DevExpress.Web.v10.2, Version=10.2.3.0, Culture=neutral, PublicKeyToken=b88d1754d700e49a" namespace="DevExpress.Web.ASPxDataView" tagprefix="dx" %>
<%@ Register assembly="DevExpress.Web.v10.2, Version=10.2.3.0, Culture=neutral, PublicKeyToken=b88d1754d700e49a" namespace="DevExpress.Web.ASPxRatingControl" tagprefix="dx" %>
<%@ Register assembly="DevExpress.Web.ASPxEditors.v10.2, Version=10.2.3.0, Culture=neutral, PublicKeyToken=b88d1754d700e49a" namespace="DevExpress.Web.ASPxEditors" tagprefix="dx" %>

<asp:Content ID="Content1" ContentPlaceHolderID="ContentPlaceHolder1" Runat="Server">
    <table style="width: 100%">
        <tr>
            <td style="width: 275px" class="reginput">
                &nbsp;</td>
            <td class="caption580" style="width: 511px">
        <asp:SqlDataSource ID="SqlDataSource1" runat="server" 
            ConnectionString="<%$ ConnectionStrings:MainConnStr %>" 
            
                    
                    SelectCommand="SELECT [Pro_ID], [Code], [Description], [Pro_Name], [Pro_Price], [Ret_Price], [Pur_Price], [Point_Value], [Pro_Type], [Pro_Image], [Pro_Image2], [Pro_Image3], [Pro_Image4], [Cat_ID], [Sub_Cat], [Business_Value] FROM [Tbl_Product] WHERE ([Pro_ID] = @Pro_ID)">
            <SelectParameters>
                <asp:QueryStringParameter Name="Pro_ID" QueryStringField="PID" Type="String" />
            </SelectParameters>
        </asp:SqlDataSource>
            </td>
            <td>
                &nbsp;</td>
        </tr>
        <tr>
            <td style="width: 275px" class="reginput">
                &nbsp;</td>
            <td class="caption580" style="width: 511px">
                <dx:ASPxDataView ID="ASPxDataView1" runat="server" ClientIDMode="AutoID" 
                    ColumnCount="1" CssFilePath="~/App_Themes/Office2010Silver/{0}/styles.css" 
                    CssPostfix="Office2010Silver" DataSourceID="SqlDataSource1" ItemSpacing="21px" 
                    PagerPanelSpacing="0px" RowPerPage="1" 
                    SpriteCssFilePath="~/App_Themes/Office2010Silver/{0}/sprite.css">
                    <ItemTemplate>
                        <br/>
                        <table style="width: 98%">
                            <tr>
                                <td style="width: 55px">
                                    <asp:Label ID="Label1" runat="server" Font-Bold="True" Text="Product ID:&nbsp;" 
                                        Width="100px"></asp:Label>
                                </td>
                                <td style="width: 91px">
                                    <asp:Label ID="Pro_IDLabel" runat="server" Text='<%# Eval("Pro_ID") %>' />
                                </td>
                                <td style="width: 7px">
                                    &nbsp;</td>
                                <td style="width: 7px">
                                    &nbsp;</td>
                                <td>
                                    &nbsp;</td>
                            </tr>
                            <tr>
                                <td style="width: 55px; height: 33px">
                                    <b>Code</b>:
                                </td>
                                <td style="width: 91px; height: 33px">
                                    <asp:Label ID="CodeLabel" runat="server" Text='<%# Eval("Code") %>' />
                                </td>
                                <td style="height: 33px; width: 7px">
                                    </td>
                                <td style="height: 33px; width: 7px">
                                    </td>
                                <td style="height: 33px">
                                    </td>
                            </tr>
                            <tr>
                                <td style="width: 55px; height: 32px">
                                    <b>Name</b>:</td>
                                <td style="width: 91px; height: 32px">
                                    <asp:Label ID="Pro_NameLabel" runat="server" Text='<%# Eval("Pro_Name") %>' />
                                </td>
                                <td style="height: 32px; width: 7px">
                                    &nbsp;</td>
                                <td style="height: 32px; width: 7px">
                                    <b>Pro_Price</b>:&nbsp;&nbsp;</td>
                                <td style="height: 32px">
                                    &nbsp;</td>
                            </tr>
                            <tr>
                                <td style="width: 55px; height: 32px">
                                    <b>Description</b>:</td>
                                <td style="width: 91px; " rowspan="2">
                                    <asp:Label ID="DescriptionLabel" runat="server" 
                                        Text='<%# Eval("Description") %>' />
                                </td>
                                <td style="height: 32px; width: 7px">
                                    &nbsp;</td>
                                <td style="height: 32px; width: 7px">
                                    <asp:Label ID="Pro_PriceLabel" runat="server" Text='<%# Eval("Pro_Price") %>' 
                                        Font-Size="Medium" ForeColor="#F65303" />
                                </td>
                                <td style="height: 32px">
                                </td>
                            </tr>
                            <tr>
                                <td style="width: 55px; height: 32px">
                                    &nbsp;</td>
                                <td style="height: 32px; width: 7px">
                                    &nbsp;</td>
                                <td style="height: 32px; width: 7px">
                                    &nbsp;</td>
                                <td style="height: 32px">
                                    &nbsp;</td>
                            </tr>
                            <tr>
                                <td style="width: 55px; height: 13px;">
                                    <dx:ASPxImage ID="ASPxImage4" runat="server" Height="91px" Width="92px" 
                                        ClientIDMode="AutoID" 
                                        ImageUrl='<%# Eval("Pro_Image3", "~//img/productimage//{0}") %>'>
                                    </dx:ASPxImage>
                                </td>
                                <td rowspan="2" style="width: 91px">
                                    <dx:ASPxImage ID="ASPxImage1" runat="server" Height="188px" Width="202px" 
                                        ClientIDMode="AutoID" 
                                        ImageUrl='<%# Eval("Pro_Image","~//img/productimage//{0}") %>'>
                                    </dx:ASPxImage>
                                </td>
                                <td style="width: 7px; height: 13px;">
                                    </td>
                                <td style="width: 7px; height: 13px;">
                                    <dx:ASPxImage ID="ASPxImage2" runat="server" ClientIDMode="AutoID" 
                                        Height="91px" ImageUrl='<%# Eval("Pro_Image2", "~//img/productimage//{0}") %>' 
                                        Width="92px">
                                    </dx:ASPxImage>
                                </td>
                                <td style="height: 13px">
                                </td>
                            </tr>
                            <tr>
                                <td style="width: 55px">
                                    <dx:ASPxImage ID="ASPxImage5" runat="server" Height="93px" Width="93px" 
                                        ClientIDMode="AutoID" 
                                        ImageUrl='<%# Eval("Pro_Image", "~//img/productimage//{0}") %>'>
                                    </dx:ASPxImage>
                                </td>
                                <td style="width: 7px">
                                    &nbsp;</td>
                                <td style="width: 7px">
                                    <dx:ASPxImage ID="ASPxImage3" runat="server" ClientIDMode="AutoID" 
                                        Height="93px" ImageUrl='<%# Eval("Pro_Image3", "~//img/productimage//{0}") %>' 
                                        Width="93px">
                                    </dx:ASPxImage>
                                </td>
                                <td>
                                    &nbsp;</td>
                            </tr>
                            <tr>
                                <td style="width: 55px">
                                    <asp:Label ID="Label2" runat="server" Font-Bold="True" Text="Point Value:" 
                                        Width="100px"></asp:Label>
                                </td>
                                <td style="width: 91px">
                                    <asp:Label ID="Point_ValueLabel" runat="server" 
                                        Text='<%# Eval("Point_Value") %>' />
                                </td>
                                <td style="width: 7px">
                                    &nbsp;</td>
                                <td style="width: 7px">
                                    &nbsp;</td>
                                <td>
                                    &nbsp;</td>
                            </tr>
                            <tr>
                                <td style="width: 55px">
                                    <asp:Label ID="Label3" runat="server" Font-Bold="True" Text="Business Value:" 
                                        Width="110px"></asp:Label>
                                </td>
                                <td style="width: 91px">
                                    <asp:Label ID="Business_ValueLabel" runat="server" 
                                        Text='<%# Eval("Business_Value") %>' />
                                </td>
                                <td style="width: 7px">
                                    &nbsp;</td>
                                <td style="width: 7px">
                                    &nbsp;</td>
                                <td>
                                    &nbsp;</td>
                            </tr>
                            <tr>
                                <td style="width: 55px">
                                    &nbsp;</td>
                                <td style="width: 91px">
                                    &nbsp;</td>
                                <td style="width: 7px">
                                    &nbsp;</td>
                                <td style="width: 7px">
                                    &nbsp;</td>
                                <td>
                                    &nbsp;</td>
                            </tr>
                        </table>
                        <br/>
                        <dx:ASPxRatingControl ID="ASPxRatingControl1" runat="server" 
                            ClientIDMode="AutoID" 
                            ImageMapUrl="~/App_Themes/Office2010Silver/Web/rcMapImage.png" ItemHeight="20" 
                            ItemWidth="22">
                        </dx:ASPxRatingControl>
                    </ItemTemplate>
                    <LoadingPanelImage Url="~/App_Themes/Office2010Silver/Web/Loading.gif">
                    </LoadingPanelImage>
                    <LoadingPanelStyle ImageSpacing="5px">
                    </LoadingPanelStyle>
                    <DisabledStyle ForeColor="#989898">
                    </DisabledStyle>
                </dx:ASPxDataView>
            </td>
            <td>
                &nbsp;</td>
        </tr>
        <tr>
            <td style="width: 275px" class="reginput">
                &nbsp;</td>
            <td class="caption580" style="width: 511px">
                <a id="cartgrid">
                <dx:ASPxButton ID="ASPxButton6" runat="server" 
                    PostBackUrl="~/Cart.aspx" Text="Back" Width="75px" 
                    ClientIDMode="AutoID" CssFilePath="~/App_Themes/SoftOrange/{0}/styles.css" 
                    CssPostfix="SoftOrange" 
                    SpriteCssFilePath="~/App_Themes/SoftOrange/{0}/sprite.css" 
                    onclick="ASPxButton6_Click">
                </dx:ASPxButton>
    </a>
            </td>
            <td>
                &nbsp;</td>
        </tr>
    </table>
</asp:Content>

